export default defineEventHandler((event) => {
  // event.context.params.slug to get the route segment: 'bar/baz'
  const query = getQuery(event)

  return {
    '/api': `默认Api Handler: ${event.context.params?.slug}`,
    query: query,
  }
})